package org.wang.generalcode.modules.sys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 字典类型表实体类
 *
 * @author wz
 * @since 2024-08-08
 */
@Data
@Schema(description = "字典类型表")
@TableName("sys_dict")
public class Dict implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键 
	*/
	@Schema(description = "主键 ")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	* 类型名称
	*/
	@Schema(description = "类型名称")
	private String name;
	/**
	* 类型编码
	*/
	@Schema(description = "类型编码")
	private String code;
	/**
	* 状态(0:正常;1:禁用)
	*/
	@Schema(description = "状态(0:正常;1:禁用)")
	private Boolean status;
	/**
	* 备注
	*/
	@Schema(description = "备注")
	private String remark;
	/**
	* 创建时间
	*/
	@Schema(description = "创建时间")
	private LocalDateTime createTime;
	/**
	* 更新时间
	*/
	@Schema(description = "更新时间")
	private LocalDateTime updateTime;
	/**
	* 是否删除(1-删除，0-未删除)
	*/
	@Schema(description = "是否删除(1-删除，0-未删除)")
	private Integer isDeleted;


}
